package com.dbg.entity;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Set;

public class TestSet {

    public static Set<String> javaLanguageSet() {
        Set<String> javaSet = new HashSet<>();
        javaSet.add(".java");
        javaSet.add(".xml");
        javaSet.add(".yml");
        return javaSet;
    }

    public static HashMap<String, Integer> javaSortRule() {
        HashMap<String, Integer> sortRule = new HashMap<>();
        sortRule.put(".java", 1);
        sortRule.put(".xml", 2);
        sortRule.put(".yml", 3);
        return sortRule;
    }

}
